package jaysun.core.action;

import com.google.gson.Gson;

public class ResultContent {
	private String url;  
    private Object obj;  
    
    public ResultContent(String url){
    	this.url = url;
    }

	public ResultContent(Object obj) {
		this.obj = obj;
	}
    
    public String getUrl() {  
        return url;  
    } 
    
 
    public Object getJson() {  
    	return new Gson().toJson(obj);
    }  
}
